package com.wanmait.demo.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.demo.mapper.ComponentUseMapper;
import com.wanmait.demo.pojo.ComponentUse;
import com.wanmait.demo.service.CompontentUseService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class CompontentUseServiceImpl implements CompontentUseService {
    @Resource
    private ComponentUseMapper componentUseMapper;
    @Override
    public void insert(ComponentUse object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(ComponentUse object) {

    }

    @Override
    public ComponentUse findById(Integer id) {
        return null;
    }

    @Override
    public List<ComponentUse> findAll() {
        return null;
    }

    @Override
    public PageInfo<ComponentUse> findPage(int pageNum, int pageSize) {
        return null;
    }
    @Override
    public List<ComponentUse> selectList(){
        return componentUseMapper.selectList();
    }
}
